package com.cqxyd.smartsite.util;

import com.cqxyd.smartsite.pojo.KeyValueVo;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Angus Yu
 * @date 2020-05-18 16:56
 */
public class KeyValueUtil {

    private static List<KeyValueVo> deviceTypes;

    public static List<KeyValueVo> getDeviceTypes() {
        List<KeyValueVo> deviceTypes = new ArrayList<KeyValueVo>();
        KeyValueVo kv01 = new KeyValueVo();
        kv01.setKey("01");
        kv01.setValue("升降机");
        deviceTypes.add(kv01);
        KeyValueVo kv02 = new KeyValueVo();
        kv02.setKey("02");
        kv02.setValue("塔吊");
        deviceTypes.add(kv02);
        KeyValueVo kv03 = new KeyValueVo();
        kv03.setKey("03");
        kv03.setValue("环境监测");
        deviceTypes.add(kv03);
        KeyValueVo kv04 = new KeyValueVo();
        kv04.setKey("04");
        kv04.setValue("考勤");
        deviceTypes.add(kv04);
        KeyValueVo kv05 = new KeyValueVo();
        kv05.setKey("05");
        kv05.setValue("监控");
        deviceTypes.add(kv05);
        return deviceTypes;
    }
}
